<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title></title>
    <!-- Bootstrap Styles-->
    <link href="__BACK__/css/bootstrap.css" rel="stylesheet"/>
    <!-- FontAwesome Styles-->
    <link href="__BACK__/css/font-awesome.css" rel="stylesheet"/>
    <!-- Custom Styles-->
    <link href="__BACK__/css/custom-styles.css" rel="stylesheet"/>
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'/>
</head>
<body>
<div id="wrapper">
    {include file="public/top"}
    <!--/. NAV TOP  -->
    {include file="public/left"}
    <!--/. NAV TOP  -->

    <!-- /. NAV SIDE  -->
    <div id="page-wrapper">
        <div id="page-inner">
            <div class="row">
                <div class="col-md-12">
                    <h1 class="page-header">
                        基本设置
                    </h1>
                </div>
            </div>
            <!-- /. ROW  -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            挑战活动设置
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <!-- /.col-lg-6 (nested) -->
                                <div class="col-lg-6">

                                    <form role="form" method="post" >
                                        <input type="hidden" name="id" value="1">
                                        <form action="" method="post" role="form">

                                        <div class="form-group ">
                                            <label class="control-label" for="days">活动挑战周期(天)</label>
                                            <input type="text" class="form-control" id="days" name="days"  value="{$sys['days']}">
                                        </div>

                                        <div class="form-group ">
                                            <label class="control-label" for="cut_money">平台盈利百分比</label>
                                            <input type="text" class="form-control" id="cut_money" name="cut_money"  value="{$sys['cut_money']}">
                                        </div>

                                        <div class="form-group ">
                                                <label class="control-label" for="reaward_rate">推广下级奖金利率设置</label>
                                                <input type="text" class="form-control" id="reward_rate" name="reward_rate"  value="{$sys['reward_rate']}">
                                        </div>

                                         <div class="form-group ">
                                                <!--< class="control-label" for="profit_rate">三级分销佣金利率设置</>-->
                                                 <div class="panel-heading">
                                                     <h4 class="panel-title">三级分销佣金利率设置</h4>
                                                 </div>
                                             <label class="control-label" for="">一级利率</label>
                                             <input type="text" class="form-control" id="" name="profit_rate[rate1]"  value="{$profit['rate1']}">
                                             <label class="control-label" for="">二级利率</label>
                                             <input type="text" class="form-control" id="" name="profit_rate[rate2]"  value="{$profit['rate2']}">
                                             <label class="control-label" for="">三级利率</label>
                                             <input type="text" class="form-control" id="" name="profit_rate[rate3]"  value="{$profit['rate3']}">
                                         </div>

                                        <button type="submit" class="btn btn-default">保存</button>
                                        <button type="reset" class="btn btn-default">重置</button>
                                    </form>


                                </div>
                                <!-- /.col-lg-6 (nested) -->
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <footer>
            </footer>
        </div>
        <!-- /. PAGE INNER  -->
    </div>
    <!-- /. PAGE WRAPPER  -->
</div>
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="__BACK__/js/jquery-1.10.2.js"></script>
<!-- Bootstrap Js -->
<script src="__BACK__/js/bootstrap.min.js"></script>
<!-- Metis Menu Js -->
<script src="__BACK__/js/jquery.metisMenu.js"></script>
<!-- Custom Js -->
<script src="__BACK__/js/custom-scripts.js"></script>


</body>
</html>
